package com.sui.bigdata.sml.web.dto;

import com.alibaba.fastjson.JSON;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author songhaicheng
 * @date 2019/12/16 17:21
 * @description
 * @reviewer
 */
@Data
@Accessors(chain = true)
public class ConvertModelDTO {

    private List<@NotBlank(message = "源模型路径不能为空") String> sources;
    @NotBlank(message = "目标路径不能为空")
    private String destination;
    private String type;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

}
